<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app2"></div>
    <div id="app">{{content}}</div>

    <!-- <div id="app">
        <p>{{ msg }}</p> 
     </div> -->

    <script src="../vue_base//js/vue.js"></script>
    <script>
        console.log(Vue);

    const vue = new Vue({
            // el:'#app',

            data(){
                return {
                    msg:'Hello1'
                }
            },

            template:`
            <div>
               <p>{{ msg }}</p> 
            </div>`
        })/* .$mount('#app') */

        setTimeout(()=>{
            vue.$mount('#app2')
        },1000)

        new Vue({
            el:'#app',
            data:{
                content:'你好'
            },
        })

        console.log(vue);
    </script>
</body>
</html>